package com.example.blog_system_ssm.mapper;

import com.example.blog_system_ssm.model.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    public User login(User loginUser);

    public User selectByName(String userName);

    public User selectById(int userId);

    public User selectNameByblogId(int blogId);

    // 注册用户
    public int register(String username,String passwordMD);

}
